package com.cxyzy.tools.cq.test

import com.cxyzy.tools.cq.CountQueue

class TaskManager {
    private val queue = CountQueue<Task>()

    fun add(action: Task, count: Int) {
        queue.add(action, count)
    }

    operator fun next(): Task? {
        return queue.next()
    }
}
